{% load mutils %}
{% load dajaxice_templatetags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />

        <title>
            {% block title %}{{ title }}{% endblock %}
        </title>

        <link href="/static/style.css" rel="stylesheet" type="text/css" media="screen" />

        {% block styles %}{{ styles }}{% endblock %}
        {% block context_styles %}{{ context_styles }}{% endblock %}

        <script type="text/javascript" language="javascript" src="/static/js/jquery-1.5.2.min.js"></script>
        {% dajaxice_js_import %}

        {% block scripts %}{{ scripts }}{% endblock %}
    </head>
    <body>
    {% block to_body %}
        {{ to_body }}
    {% endblock %}
    <div id="wrapper">
        <div id="menu">
            <ul>
                <li {% ifequal request.path "/" %}class="current_page_item"{% endifequal %}>
                    <a href="/">Home</a>
                </li>
                <li {% ifequal request.path "/stats/" %}class="current_page_item"{% endifequal %}>
                    <a href="/stats">Statistics</a>
                </li>
                <li {% ifequal request.path "/resource/schedule/" %}class="current_page_item"{% endifequal %}>
                    <a href="/resource/schedule">Schedules</a>
                </li>
                <li {% if "/filter" in request.path %}class="current_page_item"{% endif %}>
                    <a href="{% url core.views.filters %}">Filters</a>
                </li>
                <li>
                    <a href="#">Help</a>
                </li>
            </ul>
        </div>
        <!-- end #menu -->
        <div id="page">
            <div id="content">
                <div class="messages" id="messages">
                {% block messages %}
                    {{ messages }}
                {%  endblock %}
                </div>

                {% block content %}
                <div class="post">
                    <h2 class="title"><a href="index.html#">Welcome to Green Forest   </a></h2>
                    <p class="meta"><span class="date">March 10, 2011</span><span class="posted">Posted by <a href="index.html#">Someone</a></span></p>
                    <div style="clear: both;">&nbsp;</div>
                    <div class="entry">
                        <p>This is <strong>Green Forest  </strong>, a free, fully standards-compliant CSS template designed by FreeCssTemplates<a href="http://www.nodethirtythree.com/"></a> for <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.  This free template is released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attributions 2.5</a> license, so you’re pretty much free to do whatever you want with it (even use it commercially) provided you keep the links in the footer intact. Aside from that, have fun with it :)</p>
                        <p>Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.</p>
                        <p class="links"><a href="index.html#">Read More</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.html#">Comments</a></p>
                    </div>
                </div>
                {% endblock %}
                <div style="clear: both;">&nbsp;</div>
            </div>
            <!-- end #content -->
            {% block sidebar %}
            <div id="sidebar">
                <ul>
                    <li>
                        <h2>Aliquam tempus</h2>
                        <p>Mauris vitae nisl nec metus placerat perdiet est. Phasellus dapibus semper consectetuer hendrerit.</p>
                    </li>
                    <li>
                        <h2>Categories</h2>
                        <ul>
                            <li><a href="index.html#">Aliquam libero</a></li>
                            <li><a href="index.html#">Consectetuer adipiscing elit</a></li>
                            <li><a href="index.html#">Metus aliquam pellentesque</a></li>
                            <li><a href="index.html#">Suspendisse iaculis mauris</a></li>
                            <li><a href="index.html#">Urnanet non molestie semper</a></li>
                            <li><a href="index.html#">Proin gravida orci porttitor</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            {% endblock %}
            <!-- end #sidebar -->
            <div style="clear: both;">&nbsp;</div>
        </div>
        <!-- end #page -->
    </div>
    </body>
</html>